package com.zyl.Mapper;

import com.zyl.pojo.PrivateWord;
import com.zyl.vo.PrivateWordVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
@Mapper
@Repository
public interface PrivateWordMapper {
    public List<PrivateWord> findAll();
    public PrivateWord findPrivateById(Integer id);
    public void responsePrivateWord(PrivateWord privateWord);
    public void addPrivateWord(PrivateWord privateWord);
    List<PrivateWordVo> findPrivateWordByPublishId(Integer id);
    public Integer privateWordCount();
}
